package com.base.po.voip;

import java.util.ArrayList;
import java.util.List;

public class SmsconfigsExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public SmsconfigsExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("ID is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("ID is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(String value) {
            addCriterion("ID =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(String value) {
            addCriterion("ID <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(String value) {
            addCriterion("ID >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(String value) {
            addCriterion("ID >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(String value) {
            addCriterion("ID <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(String value) {
            addCriterion("ID <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLike(String value) {
            addCriterion("ID like", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotLike(String value) {
            addCriterion("ID not like", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<String> values) {
            addCriterion("ID in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<String> values) {
            addCriterion("ID not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(String value1, String value2) {
            addCriterion("ID between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(String value1, String value2) {
            addCriterion("ID not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andAgentidIsNull() {
            addCriterion("AgentID is null");
            return (Criteria) this;
        }

        public Criteria andAgentidIsNotNull() {
            addCriterion("AgentID is not null");
            return (Criteria) this;
        }

        public Criteria andAgentidEqualTo(String value) {
            addCriterion("AgentID =", value, "agentid");
            return (Criteria) this;
        }

        public Criteria andAgentidNotEqualTo(String value) {
            addCriterion("AgentID <>", value, "agentid");
            return (Criteria) this;
        }

        public Criteria andAgentidGreaterThan(String value) {
            addCriterion("AgentID >", value, "agentid");
            return (Criteria) this;
        }

        public Criteria andAgentidGreaterThanOrEqualTo(String value) {
            addCriterion("AgentID >=", value, "agentid");
            return (Criteria) this;
        }

        public Criteria andAgentidLessThan(String value) {
            addCriterion("AgentID <", value, "agentid");
            return (Criteria) this;
        }

        public Criteria andAgentidLessThanOrEqualTo(String value) {
            addCriterion("AgentID <=", value, "agentid");
            return (Criteria) this;
        }

        public Criteria andAgentidLike(String value) {
            addCriterion("AgentID like", value, "agentid");
            return (Criteria) this;
        }

        public Criteria andAgentidNotLike(String value) {
            addCriterion("AgentID not like", value, "agentid");
            return (Criteria) this;
        }

        public Criteria andAgentidIn(List<String> values) {
            addCriterion("AgentID in", values, "agentid");
            return (Criteria) this;
        }

        public Criteria andAgentidNotIn(List<String> values) {
            addCriterion("AgentID not in", values, "agentid");
            return (Criteria) this;
        }

        public Criteria andAgentidBetween(String value1, String value2) {
            addCriterion("AgentID between", value1, value2, "agentid");
            return (Criteria) this;
        }

        public Criteria andAgentidNotBetween(String value1, String value2) {
            addCriterion("AgentID not between", value1, value2, "agentid");
            return (Criteria) this;
        }

        public Criteria andUrlIsNull() {
            addCriterion("Url is null");
            return (Criteria) this;
        }

        public Criteria andUrlIsNotNull() {
            addCriterion("Url is not null");
            return (Criteria) this;
        }

        public Criteria andUrlEqualTo(String value) {
            addCriterion("Url =", value, "url");
            return (Criteria) this;
        }

        public Criteria andUrlNotEqualTo(String value) {
            addCriterion("Url <>", value, "url");
            return (Criteria) this;
        }

        public Criteria andUrlGreaterThan(String value) {
            addCriterion("Url >", value, "url");
            return (Criteria) this;
        }

        public Criteria andUrlGreaterThanOrEqualTo(String value) {
            addCriterion("Url >=", value, "url");
            return (Criteria) this;
        }

        public Criteria andUrlLessThan(String value) {
            addCriterion("Url <", value, "url");
            return (Criteria) this;
        }

        public Criteria andUrlLessThanOrEqualTo(String value) {
            addCriterion("Url <=", value, "url");
            return (Criteria) this;
        }

        public Criteria andUrlLike(String value) {
            addCriterion("Url like", value, "url");
            return (Criteria) this;
        }

        public Criteria andUrlNotLike(String value) {
            addCriterion("Url not like", value, "url");
            return (Criteria) this;
        }

        public Criteria andUrlIn(List<String> values) {
            addCriterion("Url in", values, "url");
            return (Criteria) this;
        }

        public Criteria andUrlNotIn(List<String> values) {
            addCriterion("Url not in", values, "url");
            return (Criteria) this;
        }

        public Criteria andUrlBetween(String value1, String value2) {
            addCriterion("Url between", value1, value2, "url");
            return (Criteria) this;
        }

        public Criteria andUrlNotBetween(String value1, String value2) {
            addCriterion("Url not between", value1, value2, "url");
            return (Criteria) this;
        }

        public Criteria andCountIsNull() {
            addCriterion("Count is null");
            return (Criteria) this;
        }

        public Criteria andCountIsNotNull() {
            addCriterion("Count is not null");
            return (Criteria) this;
        }

        public Criteria andCountEqualTo(Integer value) {
            addCriterion("Count =", value, "count");
            return (Criteria) this;
        }

        public Criteria andCountNotEqualTo(Integer value) {
            addCriterion("Count <>", value, "count");
            return (Criteria) this;
        }

        public Criteria andCountGreaterThan(Integer value) {
            addCriterion("Count >", value, "count");
            return (Criteria) this;
        }

        public Criteria andCountGreaterThanOrEqualTo(Integer value) {
            addCriterion("Count >=", value, "count");
            return (Criteria) this;
        }

        public Criteria andCountLessThan(Integer value) {
            addCriterion("Count <", value, "count");
            return (Criteria) this;
        }

        public Criteria andCountLessThanOrEqualTo(Integer value) {
            addCriterion("Count <=", value, "count");
            return (Criteria) this;
        }

        public Criteria andCountIn(List<Integer> values) {
            addCriterion("Count in", values, "count");
            return (Criteria) this;
        }

        public Criteria andCountNotIn(List<Integer> values) {
            addCriterion("Count not in", values, "count");
            return (Criteria) this;
        }

        public Criteria andCountBetween(Integer value1, Integer value2) {
            addCriterion("Count between", value1, value2, "count");
            return (Criteria) this;
        }

        public Criteria andCountNotBetween(Integer value1, Integer value2) {
            addCriterion("Count not between", value1, value2, "count");
            return (Criteria) this;
        }

        public Criteria andLayidIsNull() {
            addCriterion("LayID is null");
            return (Criteria) this;
        }

        public Criteria andLayidIsNotNull() {
            addCriterion("LayID is not null");
            return (Criteria) this;
        }

        public Criteria andLayidEqualTo(String value) {
            addCriterion("LayID =", value, "layid");
            return (Criteria) this;
        }

        public Criteria andLayidNotEqualTo(String value) {
            addCriterion("LayID <>", value, "layid");
            return (Criteria) this;
        }

        public Criteria andLayidGreaterThan(String value) {
            addCriterion("LayID >", value, "layid");
            return (Criteria) this;
        }

        public Criteria andLayidGreaterThanOrEqualTo(String value) {
            addCriterion("LayID >=", value, "layid");
            return (Criteria) this;
        }

        public Criteria andLayidLessThan(String value) {
            addCriterion("LayID <", value, "layid");
            return (Criteria) this;
        }

        public Criteria andLayidLessThanOrEqualTo(String value) {
            addCriterion("LayID <=", value, "layid");
            return (Criteria) this;
        }

        public Criteria andLayidLike(String value) {
            addCriterion("LayID like", value, "layid");
            return (Criteria) this;
        }

        public Criteria andLayidNotLike(String value) {
            addCriterion("LayID not like", value, "layid");
            return (Criteria) this;
        }

        public Criteria andLayidIn(List<String> values) {
            addCriterion("LayID in", values, "layid");
            return (Criteria) this;
        }

        public Criteria andLayidNotIn(List<String> values) {
            addCriterion("LayID not in", values, "layid");
            return (Criteria) this;
        }

        public Criteria andLayidBetween(String value1, String value2) {
            addCriterion("LayID between", value1, value2, "layid");
            return (Criteria) this;
        }

        public Criteria andLayidNotBetween(String value1, String value2) {
            addCriterion("LayID not between", value1, value2, "layid");
            return (Criteria) this;
        }

        public Criteria andSignidIsNull() {
            addCriterion("SignID is null");
            return (Criteria) this;
        }

        public Criteria andSignidIsNotNull() {
            addCriterion("SignID is not null");
            return (Criteria) this;
        }

        public Criteria andSignidEqualTo(String value) {
            addCriterion("SignID =", value, "signid");
            return (Criteria) this;
        }

        public Criteria andSignidNotEqualTo(String value) {
            addCriterion("SignID <>", value, "signid");
            return (Criteria) this;
        }

        public Criteria andSignidGreaterThan(String value) {
            addCriterion("SignID >", value, "signid");
            return (Criteria) this;
        }

        public Criteria andSignidGreaterThanOrEqualTo(String value) {
            addCriterion("SignID >=", value, "signid");
            return (Criteria) this;
        }

        public Criteria andSignidLessThan(String value) {
            addCriterion("SignID <", value, "signid");
            return (Criteria) this;
        }

        public Criteria andSignidLessThanOrEqualTo(String value) {
            addCriterion("SignID <=", value, "signid");
            return (Criteria) this;
        }

        public Criteria andSignidLike(String value) {
            addCriterion("SignID like", value, "signid");
            return (Criteria) this;
        }

        public Criteria andSignidNotLike(String value) {
            addCriterion("SignID not like", value, "signid");
            return (Criteria) this;
        }

        public Criteria andSignidIn(List<String> values) {
            addCriterion("SignID in", values, "signid");
            return (Criteria) this;
        }

        public Criteria andSignidNotIn(List<String> values) {
            addCriterion("SignID not in", values, "signid");
            return (Criteria) this;
        }

        public Criteria andSignidBetween(String value1, String value2) {
            addCriterion("SignID between", value1, value2, "signid");
            return (Criteria) this;
        }

        public Criteria andSignidNotBetween(String value1, String value2) {
            addCriterion("SignID not between", value1, value2, "signid");
            return (Criteria) this;
        }

        public Criteria andTcidIsNull() {
            addCriterion("TcID is null");
            return (Criteria) this;
        }

        public Criteria andTcidIsNotNull() {
            addCriterion("TcID is not null");
            return (Criteria) this;
        }

        public Criteria andTcidEqualTo(String value) {
            addCriterion("TcID =", value, "tcid");
            return (Criteria) this;
        }

        public Criteria andTcidNotEqualTo(String value) {
            addCriterion("TcID <>", value, "tcid");
            return (Criteria) this;
        }

        public Criteria andTcidGreaterThan(String value) {
            addCriterion("TcID >", value, "tcid");
            return (Criteria) this;
        }

        public Criteria andTcidGreaterThanOrEqualTo(String value) {
            addCriterion("TcID >=", value, "tcid");
            return (Criteria) this;
        }

        public Criteria andTcidLessThan(String value) {
            addCriterion("TcID <", value, "tcid");
            return (Criteria) this;
        }

        public Criteria andTcidLessThanOrEqualTo(String value) {
            addCriterion("TcID <=", value, "tcid");
            return (Criteria) this;
        }

        public Criteria andTcidLike(String value) {
            addCriterion("TcID like", value, "tcid");
            return (Criteria) this;
        }

        public Criteria andTcidNotLike(String value) {
            addCriterion("TcID not like", value, "tcid");
            return (Criteria) this;
        }

        public Criteria andTcidIn(List<String> values) {
            addCriterion("TcID in", values, "tcid");
            return (Criteria) this;
        }

        public Criteria andTcidNotIn(List<String> values) {
            addCriterion("TcID not in", values, "tcid");
            return (Criteria) this;
        }

        public Criteria andTcidBetween(String value1, String value2) {
            addCriterion("TcID between", value1, value2, "tcid");
            return (Criteria) this;
        }

        public Criteria andTcidNotBetween(String value1, String value2) {
            addCriterion("TcID not between", value1, value2, "tcid");
            return (Criteria) this;
        }

        public Criteria andMzidIsNull() {
            addCriterion("MzID is null");
            return (Criteria) this;
        }

        public Criteria andMzidIsNotNull() {
            addCriterion("MzID is not null");
            return (Criteria) this;
        }

        public Criteria andMzidEqualTo(String value) {
            addCriterion("MzID =", value, "mzid");
            return (Criteria) this;
        }

        public Criteria andMzidNotEqualTo(String value) {
            addCriterion("MzID <>", value, "mzid");
            return (Criteria) this;
        }

        public Criteria andMzidGreaterThan(String value) {
            addCriterion("MzID >", value, "mzid");
            return (Criteria) this;
        }

        public Criteria andMzidGreaterThanOrEqualTo(String value) {
            addCriterion("MzID >=", value, "mzid");
            return (Criteria) this;
        }

        public Criteria andMzidLessThan(String value) {
            addCriterion("MzID <", value, "mzid");
            return (Criteria) this;
        }

        public Criteria andMzidLessThanOrEqualTo(String value) {
            addCriterion("MzID <=", value, "mzid");
            return (Criteria) this;
        }

        public Criteria andMzidLike(String value) {
            addCriterion("MzID like", value, "mzid");
            return (Criteria) this;
        }

        public Criteria andMzidNotLike(String value) {
            addCriterion("MzID not like", value, "mzid");
            return (Criteria) this;
        }

        public Criteria andMzidIn(List<String> values) {
            addCriterion("MzID in", values, "mzid");
            return (Criteria) this;
        }

        public Criteria andMzidNotIn(List<String> values) {
            addCriterion("MzID not in", values, "mzid");
            return (Criteria) this;
        }

        public Criteria andMzidBetween(String value1, String value2) {
            addCriterion("MzID between", value1, value2, "mzid");
            return (Criteria) this;
        }

        public Criteria andMzidNotBetween(String value1, String value2) {
            addCriterion("MzID not between", value1, value2, "mzid");
            return (Criteria) this;
        }

        public Criteria andDatastatusIsNull() {
            addCriterion("DataStatus is null");
            return (Criteria) this;
        }

        public Criteria andDatastatusIsNotNull() {
            addCriterion("DataStatus is not null");
            return (Criteria) this;
        }

        public Criteria andDatastatusEqualTo(Boolean value) {
            addCriterion("DataStatus =", value, "datastatus");
            return (Criteria) this;
        }

        public Criteria andDatastatusNotEqualTo(Boolean value) {
            addCriterion("DataStatus <>", value, "datastatus");
            return (Criteria) this;
        }

        public Criteria andDatastatusGreaterThan(Boolean value) {
            addCriterion("DataStatus >", value, "datastatus");
            return (Criteria) this;
        }

        public Criteria andDatastatusGreaterThanOrEqualTo(Boolean value) {
            addCriterion("DataStatus >=", value, "datastatus");
            return (Criteria) this;
        }

        public Criteria andDatastatusLessThan(Boolean value) {
            addCriterion("DataStatus <", value, "datastatus");
            return (Criteria) this;
        }

        public Criteria andDatastatusLessThanOrEqualTo(Boolean value) {
            addCriterion("DataStatus <=", value, "datastatus");
            return (Criteria) this;
        }

        public Criteria andDatastatusIn(List<Boolean> values) {
            addCriterion("DataStatus in", values, "datastatus");
            return (Criteria) this;
        }

        public Criteria andDatastatusNotIn(List<Boolean> values) {
            addCriterion("DataStatus not in", values, "datastatus");
            return (Criteria) this;
        }

        public Criteria andDatastatusBetween(Boolean value1, Boolean value2) {
            addCriterion("DataStatus between", value1, value2, "datastatus");
            return (Criteria) this;
        }

        public Criteria andDatastatusNotBetween(Boolean value1, Boolean value2) {
            addCriterion("DataStatus not between", value1, value2, "datastatus");
            return (Criteria) this;
        }

        public Criteria andTypeIsNull() {
            addCriterion("Type is null");
            return (Criteria) this;
        }

        public Criteria andTypeIsNotNull() {
            addCriterion("Type is not null");
            return (Criteria) this;
        }

        public Criteria andTypeEqualTo(Integer value) {
            addCriterion("Type =", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeNotEqualTo(Integer value) {
            addCriterion("Type <>", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeGreaterThan(Integer value) {
            addCriterion("Type >", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeGreaterThanOrEqualTo(Integer value) {
            addCriterion("Type >=", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeLessThan(Integer value) {
            addCriterion("Type <", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeLessThanOrEqualTo(Integer value) {
            addCriterion("Type <=", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeIn(List<Integer> values) {
            addCriterion("Type in", values, "type");
            return (Criteria) this;
        }

        public Criteria andTypeNotIn(List<Integer> values) {
            addCriterion("Type not in", values, "type");
            return (Criteria) this;
        }

        public Criteria andTypeBetween(Integer value1, Integer value2) {
            addCriterion("Type between", value1, value2, "type");
            return (Criteria) this;
        }

        public Criteria andTypeNotBetween(Integer value1, Integer value2) {
            addCriterion("Type not between", value1, value2, "type");
            return (Criteria) this;
        }

        public Criteria andContenttypeIsNull() {
            addCriterion("ContentType is null");
            return (Criteria) this;
        }

        public Criteria andContenttypeIsNotNull() {
            addCriterion("ContentType is not null");
            return (Criteria) this;
        }

        public Criteria andContenttypeEqualTo(String value) {
            addCriterion("ContentType =", value, "contenttype");
            return (Criteria) this;
        }

        public Criteria andContenttypeNotEqualTo(String value) {
            addCriterion("ContentType <>", value, "contenttype");
            return (Criteria) this;
        }

        public Criteria andContenttypeGreaterThan(String value) {
            addCriterion("ContentType >", value, "contenttype");
            return (Criteria) this;
        }

        public Criteria andContenttypeGreaterThanOrEqualTo(String value) {
            addCriterion("ContentType >=", value, "contenttype");
            return (Criteria) this;
        }

        public Criteria andContenttypeLessThan(String value) {
            addCriterion("ContentType <", value, "contenttype");
            return (Criteria) this;
        }

        public Criteria andContenttypeLessThanOrEqualTo(String value) {
            addCriterion("ContentType <=", value, "contenttype");
            return (Criteria) this;
        }

        public Criteria andContenttypeLike(String value) {
            addCriterion("ContentType like", value, "contenttype");
            return (Criteria) this;
        }

        public Criteria andContenttypeNotLike(String value) {
            addCriterion("ContentType not like", value, "contenttype");
            return (Criteria) this;
        }

        public Criteria andContenttypeIn(List<String> values) {
            addCriterion("ContentType in", values, "contenttype");
            return (Criteria) this;
        }

        public Criteria andContenttypeNotIn(List<String> values) {
            addCriterion("ContentType not in", values, "contenttype");
            return (Criteria) this;
        }

        public Criteria andContenttypeBetween(String value1, String value2) {
            addCriterion("ContentType between", value1, value2, "contenttype");
            return (Criteria) this;
        }

        public Criteria andContenttypeNotBetween(String value1, String value2) {
            addCriterion("ContentType not between", value1, value2, "contenttype");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}